from base.myBase import Tools

class complete_model(Tools):
    path = '/task/info'
    def complete_action(self, task_id, hd):
        complete_data = {
            "task_id":task_id
        }
        res = self.huihua.put(url=self.hosturl+self.path, data=complete_data, headers=hd)
        return res.json()

